package com.example.zuelweb.mappers;


import com.example.zuelweb.entity.Reresult;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ImageMapper {

    //查找图片
    String findImage(String filename);

    //添加图片和识别结果
    Integer add(String filename,String result);

    //日志-查找所有记录
    List<Reresult> findall();

    //删除日志记录
    int delete(String filename);


}
